package com.mall.manager.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

/**
 * 全国人数分类统计信息业务层
 * @ClassName: DiffPeopleService
 * @Description: 
 * @author:wangwenyue wangwenyue@ide365.com
 * @date 2016年7月12日 下午2:23:11
 */
@Service
public class DiffPeopleService {
	
	Logger logger=LoggerFactory.getLogger(DiffPeopleService.class);
	@Resource
	private JdbcTemplate jdbcTemplate;
	
	
	/**
	 * 获取地图显示数据
	 * @param paraMap
	 * @return
	 */
	public List<Map<String, Object>> queryList(Map<String, Object> paraMap) {
		String sql = "select * from db_processing.t_different_people diff where diff.area_name like '%省%' ";
		List<Map<String, Object>> queryForList = null;
		try {
			queryForList = jdbcTemplate.queryForList(sql);
		} catch (Exception e) {
			e.printStackTrace();
			logger.info(e.toString());
		}
		return queryForList;
	}

	
	
	
	
	
	
	
	
	

}
